package com.hq;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

import java.util.TimeZone;

/**
 * jiang bai ping
 *
 * @Email 526666031@qq.com
 */
@SpringBootApplication
@EnableAsync
@MapperScan(basePackages = {"com.hq.**.dao"})
public class AppApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppApplication.class, args);
    }


    static {
        System.setProperty("druid.mysql.usePingMethod", "false");
        TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
    }
}
